package com.oscar.dao;

import java.util.ArrayList;

import com.oscar.dto.StoreInfor;
import com.oscar.nail.WCFNail;

public class StoreInforDAO {
	private WCFNail nailservice = new WCFNail();
	public StoreInforDAO() {
	}
	public boolean checkLoginStoreInfor(final String email,final String pass)
	{
		return nailservice.checkLoginStoreInfor(new ArrayList<String>(){{
			add(email);
			add(pass);
		}});
	}
	/**
	 * idStore o day la username
	 * @param idStore
	 * @return null or ortherwise
	 */
	public StoreInfor getStoreWithID(final String idStore)
	{
		return nailservice.getStoreWithID(new ArrayList<String>(){{
			add(idStore);
		}});
	}
}
